package com.example.demo.entity;

public class PersonBean {
    public PersonBean() {
    }

    public PersonBean(int id, String workNumber, String name, String phoneNumber, String degree, String profession, String department, String workTime, String title, String address, String introduction) {
        this.id = id;
        this.workNumber = workNumber;
        this.name = name;
        this.phoneNumber = phoneNumber;
        this.degree = degree;
        this.profession = profession;
        this.department = department;
        this.workTime = workTime;
        this.title = title;
        this.address = address;
        this.introduction = introduction;
    }

    /* primary key */
    private int id;
    /* 工作编号  */
    private String workNumber = "";

    /* 姓名  */
    private String name = "";

    /* 手机号  */
    private String phoneNumber = "";

    /* 学历  */
    private String degree = "";

    /* 专业  */
    private String profession = "";

    /* 部门  */
    private String department = "";

    /* 入职时间  */
    private String workTime = "";

    /* 职称  */
    private String title = "";

    /* 家庭住址  */
    private String address = "";

    /* 个人简介  */
    private String introduction = "";

    @Override
    public String toString() {
        return "PersonBean{" +
                "id=" + id +
                ", workNumber='" + workNumber + '\'' +
                ", name='" + name + '\'' +
                ", phoneNumber='" + phoneNumber + '\'' +
                ", degree='" + degree + '\'' +
                ", profession='" + profession + '\'' +
                ", department='" + department + '\'' +
                ", workTime='" + workTime + '\'' +
                ", title='" + title + '\'' +
                ", address='" + address + '\'' +
                ", introduction='" + introduction + '\'' +
                '}';
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getWorkNumber() {
        return workNumber;
    }

    public void setWorkNumber(String workNumber) {
        this.workNumber = workNumber;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPhoneNumber() {
        return phoneNumber;
    }

    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }

    public String getDegree() {
        return degree;
    }

    public void setDegree(String degree) {
        this.degree = degree;
    }

    public String getProfession() {
        return profession;
    }

    public void setProfession(String profession) {
        this.profession = profession;
    }

    public String getDepartment() {
        return department;
    }

    public void setDepartment(String department) {
        this.department = department;
    }

    public String getWorkTime() {
        return workTime;
    }

    public void setWorkTime(String workTime) {
        this.workTime = workTime;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getIntroduction() {
        return introduction;
    }

    public void setIntroduction(String introduction) {
        this.introduction = introduction;
    }
}
